#include"stdio.h"
#include"stdlib.h"
#include"string.h"
#include"errno.h"
#include"unistd.h"


int main()
{
  int ret=0;
  char* p = malloc(1000*1000*1000*4);

  if(p==NULL)
  {
    printf("malloc error, %d:%s\n",errno,strerror(errno));
    ret=errno;
  }
  else
  {
    printf("malloc success\n");
  }

  return ret;
}
